package m3d28;

import java.util.LinkedHashMap;

public class fLinkedHashMap {
    public static void main(String[] args) {
        LinkedHashMap<String,String> linkedHashMapshMap = new LinkedHashMap<>();
        linkedHashMapshMap.put("a","a");
        linkedHashMapshMap.put("c","c");
        linkedHashMapshMap.put("b","b");
        linkedHashMapshMap.put("a","a");
        System.out.println(linkedHashMapshMap);
        //key还是不可重复，但有序，HashMap无序
    }
}
